package com.example.JavaConcurrent.Project3_Phaser.arriveAndDeregister3_3;

import java.util.concurrent.Phaser;

public class ThreadB extends Thread{
    private Phaser phaser;

    public ThreadB(Phaser phaser){
        super();
        this.phaser = phaser;
    }

    @Override
    public void run() {
        PrintTools.methodA();
    }
}
